﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WR.BL.BE
{
  public  class DetalleBE
    {

      public DetalleBE()
        {
            this._Material = string.Empty;
            this._cant = 0m;
            this._codMat = string.Empty;
            this._precio = 0m;
            this._total = 0m;
        }

        private string _Material;
        private string _codMat;
        private decimal _cant;
        private decimal _precio;
        private decimal _total;
        //private decimal _totalSinDescuento; //RGF 20111102

        public string Material
        {
            get { return _Material; }
            set { _Material = value; }
        }
        public string CodMat
        {
            get { return _codMat; }
            set { _codMat = value; }
        }
        public decimal Cant
        {
            get { return _cant; }
            set { _cant = value; }
        }
        public decimal Precio        {
            get { return _precio; }
            set { _precio = value; }
        }
        public decimal Total
        {
            get { return _total; }
            set { _total = value; }
        }

      //RGF 20111102
        //public decimal TotalSinDescuento
        //{
        //    get { return decimal.Round(_precio*_cant,2); }
        //    set { _totalSinDescuento = value; }
        //}
    }
}
